Whack fs ptr in rd_init.
authorrobertl <robertl>
Mon, 7 Nov 2005 00:49:17 +0000 (00:49 +0000)
committerrobertl <robertl>
Mon, 7 Nov 2005 00:49:17 +0000 (00:49 +0000)
gpx.c

diff --git a/gpx.c b/gpx.c
index 0a0f3171963c09b12ee271443df3638d00524268..c232470fa1ebee5c6cbab452b242725e7e0377c9 100644 (file)
--- a/gpx.c
+++ b/gpx.c
@@ -967,6 +967,7 @@ gpx_rd_init(const char *fname)
 
        XML_SetElementHandler(psr, gpx_start, gpx_end);
        XML_SetCharacterDataHandler(psr, gpx_cdata);
+       fs_ptr = NULL;
 }
 #endif